<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]'     => [
        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],
    
    'ts/[:text]$' => 'index/animal/ts',
    'tts' => 'index/animal/tts',
    'video' => 'index/animal/index',
    'edit' => 'index/animal/edit',
    'add' => 'index/animal/add',
    'ttsen' => 'index/animal/ttsen',
    'ttsnotifyurl' => 'index/animal/ttsnotifyurl',
    'tovideo' => 'index/animal/tovideo',
    'downfile/[:work_id]$' => 'index/animal/downfile',
    'test' => 'index/animal/testdown',
    'creatimage' => 'index/animal/creatimage',
    'upmp4' => 'index/animal/upmp4',
    'rupmp4' => 'index/animal/rupmp4',
    'getcontent' =>'service/timo/getcontent',
    'save/[:a_id]' => 'service/timo/savecontent',
    'creataudio' => 'index/animal/creataudio', 
    'createvideo' => 'index/animal/createvideo',
    'changetype' => 'service/timo/changetype',
    
];
